AddCSLuaFile( "cl_init.lua" )
AddCSLuaFile( "shared.lua" )
include('shared.lua')

function ENT:Initialize()
	self.Entity:SetModel( "models//Weapons//W_missile_closed.mdl" )
	self.Entity.IsSubmunition = true
	self.BaseClass.Initialize(self)
	
	self.Entity.speed = 1000
	self.Entity.minspeed = 1000
	self.Entity.maxspeed = 3000
	self.Entity.acceltime = 1.5
	
	util.SpriteTrail(self.Entity, 0, self.Entity.Color, false, 10, 0, 3.2, 0.25, "trails/smoke.vmt")
end

function ENT:DrawImpact(entity, normal)
	CDEffect_impact_solid(self.Entity:GetPos(), self.Entity.Color, 60, 1, normal, entity)
end

